/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const BusinessRouter = {
  path: '/business',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Business',
  meta: {
    title: '业务管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'order',
      component: () => import('@/views/BusinessManagement/order'),
      name: 'order',
      meta: { title: '业务管理', noCache: true }
    },

    {
      path: 'waybill',
      component: () => import('@/views/BusinessManagement/waybill'),
      name: 'waybill',
      meta: { title: '运单管理', noCache: true }
    }

  ]
}

export default BusinessRouter
